<template>
  <yt-page :title="name">
    <iframe :src="url"></iframe>
  </yt-page>
</template>

<script>
  export default {
    data() {
      return {
        name: '',
        url: ''
      }
    },
    activated() {
      let { name, url } = this.$router.currentRoute.query
      this.name = name
      this.url = url
    }
  }
</script>
